import java.io.File;
import java.util.Arrays;

/*
 * @author zzr
 * @date: 2025/04/21  11:00
 * @description:
 */
public class IO3 {
    public static void main(String[] args) {
        File file = new File(".");
        String[] files = file.list();
        System.out.println(Arrays.toString(files));
        File[] files1 = file.listFiles();
        System.out.println(Arrays.toString(files1));
    }
}
